//
//  CycleModel.m
//  PerfectWorld
//
//  Created by dllo on 16/8/30.
//  Copyright © 2016年 LST. All rights reserved.
//

#import "CycleModel.h"
#import "Banners.h"
@implementation CycleModel

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"banners"]) {
        NSMutableArray<Banners *> *array = [NSMutableArray array];
        for (NSDictionary *dic in value) {
            Banners * banners = [Banners modelWithDic:dic];
            [array addObject:banners];
        }
        _banners = array;
    }
}


@end
